package com.lai.shop.constant;

public class CommonConstant {

    /**
     * 否
     */
    public static final int FALSE = 0;

    /**
     * 是
     */
    public static final int TRUE = 1;

    /**
     * 登录后放入session的key loginUser
     */
    public static final String LOGIN_USER = "loginUser";
    /**
     * 默认头像
     */
    public static final String DEFAULT_AVATAR = "https://gulimall-lai.oss-cn-hangzhou.aliyuncs.com/2022-05-22/avatar.png";


    public static final String DEFAULT_IP_ADDRESS = "127.0.0.1";

    public static final String DEFAULT_IP_SOURCE = "本地";
    /**
     * 当前页码
     */
    public static final String PAGE = "page";
    /**
     * 每页显示记录数
     */
    public static final String LIMIT = "limit";
    /**
     * 排序字段
     */
    public static final String ORDER_FIELD = "sidx";
    /**
     * 排序方式
     */
    public static final String ORDER = "order";
    /**
     * 升序
     */
    public static final String ASC = "asc";

}
